package com.glink.manage.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.glink.common.exception.GeneralSimpleException;
import com.glink.manage.domain.HomeSetBean;
import com.glink.manage.dto.view.HomeInfoGetInfoDTO;
import com.glink.manage.dto.view.HomeSetInfoDTO;
import com.glink.manage.dto.view.PatrolIntelligentEquipChannelHomeDTO;
import com.glink.manage.vo.overview.HomeSetInfoVO;
import com.glink.manage.vo.video.PatrolIntelligentEquipChannelNvrVO;

public interface HomeSetService extends IService<HomeSetBean> {

    boolean insertHomeSet(HomeSetInfoDTO dto) throws GeneralSimpleException;

    HomeSetInfoVO getHomeSetInfo(HomeInfoGetInfoDTO dto) throws GeneralSimpleException;

    /**
     * 查询未添加到首页默认配置中的通道列表
     * @param dto
     * @return
     */
    IPage<PatrolIntelligentEquipChannelNvrVO> findNoHomeSetChannelListPage(PatrolIntelligentEquipChannelHomeDTO dto)throws GeneralSimpleException;

}
